<?php
/*
	Rss-aggregator php script : Aggregate rss feeds to display it as needed
	Visit http://www.rss-aggregator.com for more help.
	Copyright (C) 2008 DAHU.FR

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

	include('mesfonctions.php');
	
	$FLUid = $_REQUEST['IdFlux1'];
	
	$requete1 = "SELECT * FROM RSSAflux WHERE FLUid = '".$FLUid."' ";
	$resultat1 = mysql_query ($requete1, $connexion);
		
	if ($resultat1)
	{
		$flux = mysql_fetch_object ($resultat1);
?>
<div>
	<br />
	<form>
		<div class="intitule"> MODIFY "<?php echo $flux->FLUnom; ?>" FEED : </div> <br />
		<label>Feed name : <input type="text" name="NomFlux" id="NomFlux" value="<?php echo $flux->FLUnom; ?>" /> </label> <br />
		<label> Style : <input type="text" name="StyleFlux" id="StyleFlux" maxlength="3" size="3" value="<?php echo $flux->FLUstyle; ?>" /> </label> <br/>
		<input type="hidden" name="IdFlux2" id="IdFlux2" value="<?php echo $flux->FLUid; ?>" />
		<input type="button" name="ModifierFlux" value="Modify" onclick="javascript:modifier_flux()"/>
	</form>
</div>

<?php
	}
?>
